home *** CD-ROM | disk | FTP | other *** search
/ Ham Radio 2000 / Ham Radio 2000.iso / ham2000 / tcp_ip / jnos / cmdshelp / ppp < prev    next >
Text File  |  1994-08-13  |  7KB  |  215 lines

  1.  
  2. ppp
  3.  
  4.  
  5. The 'ppp' commands are used for Point to Point Protocol
  6. interfaces.
  7.  
  8. This implementation of PPP is designed to be as complete as
  9. possible.  Because of this, the number of options can be rather
  10. daunting.  However, a typical PPP configuration might include the
  11. following commands:
  12.  
  13.         attach asy 0x3f8 4 ppp pp0 4096 1500 9600
  14.         dial pp0 30 <host> 3 dialer.pp0
  15.         #
  16.         ppp pp0 lcp local accm 0
  17.         ppp pp0 lcp local compress address on
  18.         ppp pp0 lcp local compress protocol on
  19.         ppp pp0 lcp local magic on
  20.         ppp pp0 lcp open active
  21.         #
  22.         ppp pp0 ipcp local compress tcp 16 1
  23.         ppp pp0 ipcp open active
  24.         #
  25.         route add default pp0
  26.  
  27. ppp <interface>
  28.   Display the status of the PPP interface.
  29.  
  30.  
  31. The following commands are used for the LCP (Link Control
  32. Protocol) configuration.
  33.  
  34. ppp <interface> lcp close
  35.   Shutdown the PPP interface.
  36.  
  37.  
  38. ppp <interface> lcp local ...
  39.   The 'lcp local' commands control the configuration of the local
  40.   side of the link.  If an option is specified, the parameters will
  41.   be used as the initial values in configuration requests.  If not
  42.   specified, that option will not be requested.
  43.  
  44.   For each of these options, the 'allow' parameter will permit the
  45.   remote host to include that option in its response, even when the
  46.   option is not included in the request.  By default, all options
  47.   are allowed.
  48.  
  49.  
  50. ppp <interface> lcp local accm [ <bitmap> | allow [on | off] ]
  51.   Display or set the ACCM (Async Control Character Map).  The
  52.   default is 0xffffffff.
  53.  
  54.  
  55. ppp <interface> lcp local authenticate [ pap | none | allow  [on | off] ]
  56.   Display or set the authentication protocol.  The default is none.
  57.  
  58.  
  59. ppp <interface> lcp local compress address/control [ on | off | allow
  60.                                                           [on | off] ]
  61.   Display or set the option to compress the address and control
  62.   fields of the PPP HLDC-like header.  This is generally desirable
  63.   for slow asynchronous links, and undesirable for fast or
  64.   synchronous links.  The default is off.
  65.  
  66.  
  67. ppp <interface> lcp local compress protocol
  68.                  [ on | off | allow [on|off]]
  69.   Display or set the option to compress the protocol field of the
  70.   PPP HLDC-like header.  This is generally desirable for slow
  71.   asynchronous links, and undesirable for fast or synchronous
  72.   links.  The default is off.
  73.  
  74.  
  75. ppp <interface> lcp local magic [ on | off | <value> | allow [on|off] ]
  76.   Display or set the initial Magic Number.  The default is off
  77.  
  78.  
  79. ppp <interface> lcp local mru [ <size> | allow [on | off] ]
  80.   Display or set the Maximum Receive Unit.  The default is 1500.
  81.  
  82.  
  83. ppp <interface> lcp local default
  84.   Reset the options to their default values.
  85.  
  86.  
  87. ppp <interface> lcp open active | passive
  88.   Wait for the physical layer to come up.  If 'active', initiate
  89.   configuration negotiation.  If 'passive', wait for configuration
  90.   negotiation from the remote.
  91.  
  92.  
  93. ppp <interface> lcp remote ...
  94.   The 'lcp remote' commands control the configuration of the remote
  95.   side of the link.  The options are identical to those of the
  96.   local side.
  97.  
  98.   If an option is specified, the parameters will be used in
  99.   responses to the remote's configuration requests.
  100.  
  101.   If not specified, that option will be accepted if it is allowed.
  102.  
  103.   For each of these options, the 'allow' parameter will permit the
  104.   remote to specify that option in its request.
  105.  
  106.   By default, all options are allowed.
  107.  
  108.  
  109. ppp <interface> lcp timeout [<seconds>]                Default: 3
  110.   Display or set the interval to wait between configuration or
  111.   termination attempts.
  112.  
  113.  
  114. ppp <interface> lcp try ...
  115.   The 'lcp try' commands are used for the various counters.
  116.  
  117.  
  118. ppp <interface> lcp try configure [<count>]           Default: 10
  119.   Display or set the number of configuration requests sent.
  120.  
  121.  
  122. ppp <interface> lcp try failure [<count>]              Default: 5
  123.   Display or set the number of bad configuration requests allowed
  124.   from the remote.
  125.  
  126.  
  127. ppp <interface> lcp try terminate [<count>]            Default: 2
  128.   Display or set the number of termination requests sent before
  129.   shutdown.
  130.  
  131.  
  132. ppp <interface> ipcp ...
  133.   The 'ipcp' commands are used for the Internet Protocol Control
  134.   Protocol configuration.
  135.  
  136.   The 'close', 'open', 'timeout' and 'try' sub-commands are
  137.   identical to the LCP (described above).
  138.  
  139.  
  140. ppp <interface> ipcp local ...
  141.   The 'ipcp local' commands control the configuration of the local
  142.   side of the link.  If an option is specified, the parameters will
  143.   be used as the initial values in configuration requests.  If not
  144.   specified, that option will not be requested.
  145.  
  146.   For each of these options, the 'allow' parameter will permit the
  147.   remote to include that option in its response, even when the
  148.   option is not included in the request.  By default, all options
  149.   are allowed.
  150.  
  151.  
  152. ppp <interface> ipcp local address [ <hostid> | allow [on | off] ]
  153.   Display or set the local address for negotiation purposes.  If an
  154.   address of 0 is specified, the other side of the link will supply
  155.   the address.  By default, no addresses are negotiated.
  156.  
  157.  
  158. ppp <interface> ipcp local compress [ tcp <slots>
  159.              [<flag>] | none | allow [on | off] ]
  160.   Display or set the compression protocol.  The default is none.
  161.  
  162.   The tcp <slots> specifies the number of "conversation" slots,
  163.   which must be 1 to 255. (This may be limited at compilation time
  164.   to a smaller number.)  A good choice is in the range 4 to 16.
  165.  
  166.   The tcp <flag> is 0 (don't compress the slot number) or 1 (OK to
  167.   compress the slot number).  KA9Q NOS can handle compressed slot
  168.   numbers, so the default is 1.
  169.  
  170.  
  171. ppp <interface> ipcp remote ...
  172.   The 'ipcp remote' commands control the configuration of the
  173.   remote side of the link.  The options are identical to those of
  174.   the local side.  If an option is specified, the parameters will
  175.   be used in responses to the remote's configuration requests.  If
  176.   not specified, that option will be accepted if it is allowed.
  177.   For each of these options, the 'allow' parameter will permit the
  178.   remote to specify that option in its request.  By default, all
  179.   options are allowed.
  180.  
  181.  
  182. ppp <iface> pap ...
  183.   The 'pap' commands are used for the Password Authentication
  184.   Protocol configuration.
  185.  
  186.   The 'timeout' and 'try' sub-commands are identical to the LCP
  187.   (described above).  However, the terminate counter is unused.
  188.  
  189.  
  190. ppp <interface> pap user [ <username> [<password>] ]
  191.   Display or set the <username>.
  192.  
  193.   The <password> may also be set, but not displayed.
  194.  
  195.   When <username> is specified, but no password is supplied, the
  196.   FTPUSERS file is searched for the password.  When a username-
  197.   password pair is unknown or rejected, a session will appear at
  198.   the console to prompt for a new username-password.
  199.  
  200.  
  201. ppp <interface> trace [<flags>]
  202.   Display or set the flags that control the logging of information
  203.   during PPP link configuration.
  204.  
  205.   The flag values are:
  206.  
  207.   0:  No trace
  208.   1:  Basic trace
  209.   2:  General trace
  210.  
  211.   Values greater than 2 are usually not compiled, and are described
  212.   in the appropriate source files where they are defined.
  213.  
  214.  
  215.